// components/studioInfo copy/studioInfo.js
Component({
  /**
   * 组件的属性列表
   */
  properties: {},

  /**
   * 组件的初始数据
   */
  data: {
    ifIpad: false
  },

  lifetimes: {
    attached() {
      wx.getSystemInfo({
        success: (result) => {
          const {
            windowHeight,
            windowWidth
          } = result
          this.setData({
            ifIpad: (windowHeight / windowWidth) > 1.5 ? false : true
          })
        },
      })
    }
  }

})